<tr>
    <td colspan=2><%= error_messages_for 'image' %></td>    
</tr>
<tr>
    <td valign="top">Sequence</td>
    <td><%= text_field 'image', 'sequence', :size=> 30%></td>
</tr>
<tr bgcolor="#ECECEC">
    <td width="30%" valign="top">Choose Category *</td>
    <td><%= select('image', 'category_id', Category.find(:all).collect {|p| [ p.name, p.id ] }, { :include_blank => true })%></td>
</tr>
<tr>
    <td valign="top">Photo Title *</td>
    <td><%= text_field 'image', 'name', :size=> 30%></td>
</tr>
<tr bgcolor="#ECECEC">
    <td valign="top">Author</td>
    <td><%= text_field 'image', 'author', :size=> 30%></td>
</tr>
<tr>
    <td valign="top">Thumbnail Photo *</td>
    <td><%= file_field 'image', 'thumbnail', :size=> 30%></td>
</tr>
<tr bgcolor="#ECECEC">
    <td valign="top">Enlarged Photo *</td>
    <td><%= file_field 'image', 'large_image', :size=> 30%></td>
</tr>
<tr>
    <td valign="top">Set As New</td>
    <td><%= check_box 'image','new' %></td>
</tr>
<tr bgcolor="#ECECEC">
    <td valign="top">Show Photo</td>
    <td><%= check_box 'image','publish' %></td>
</tr>
<tr>
    <td valign="top">Brief Description</td>
    <td><%= text_area 'image','brief_descr',:cols=>65,:rows=>5%></td>
</tr>
<tr bgcolor="#ECECEC">
    <td valign="top">Full Description</td>
    <td><%= text_area 'image','full_descr',:cols=>65,:rows=>10%></td>
</tr>